Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

in LScript
~Phil Nimtoolyynds 22.Jan.04 02:44 PM a Web browser
Applications Development All Releases All Platforms


Try this:

Forall a In srcDb.Agents
If a.Name = sAgentName Then
Set agent = a
On Error 4000 Goto ERRORLABEL
If agent.RunOnServer() = 0 Then
On Error Goto 0
msg = "END " & a.name & " ran successfully"
Exit Forall
Else
On Error Goto 0
msg = "END " & a.name & " ran with failure"
Exit Forall
End If
End If
End Forall




Running an agent from a different d... (~Carol Opfanama... 22.Jan.04)
. . in LScript (~Phil Nimtoolyy... 22.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS